home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
cuj9204
/
1004092a
< prev
next >
Wrap
Text File
|
1992-06-02
|
216b
|
19 lines
#include <stdio.h>
enum node_type {Error, Char, Int, Double, String};
typedef struct {
enum node_type type;
union {
char c;
int i;
double d;
char *s;
} value;
} node;
void push(node);
node pop(void);